package ms.crack.zhilian;

import java.io.IOException;

/**
 * @author Gongle
 * @date 2016-08-19
 */
public class VipHrmTest {
    public static void main(String[] args) throws IOException {
        String dir = "D:/captcha/viphrm_" + Util.getRandomFileName();
        System.out.println("running ....");
        ImageORCService imageORCService = new ImageORCService("http://www.viphrm.com/login/handler/Verification.ashx?tm=0.10012438092745679", dir, "png");
        imageORCService.doOCR();

        //打开文件夹
        Runtime.getRuntime().exec("cmd.exe /c start " + dir);
    }
}
